{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 13,
   "id": "palestinian-plasma",
   "metadata": {},
   "outputs": [],
   "source": [
    "import  matplotlib.pyplot as plt\n",
    "import warnings\n",
    "import numpy as np\n",
    "warnings.filterwarnings('ignore')\n",
    "\n",
    "plt.rcParams['font.sans-serif'] = ['SimHei']"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "id": "conditional-proof",
   "metadata": {},
   "outputs": [],
   "source": [
    "labels=['定投基金','境内股票','活期','境外股票','货币基金']\n",
    "base =[5,13,1,36,3]   # W"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 30,
   "id": "returning-scanning",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "Text(0.5, 1.0, '初始资金 20210427')"
      ]
     },
     "execution_count": 30,
     "metadata": {},
     "output_type": "execute_result"
    },
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAQEAAAD3CAYAAAAdUOFNAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjMuNCwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8QVMy6AAAACXBIWXMAAAsTAAALEwEAmpwYAAA18ElEQVR4nO2dd5hU5fXHP2dm+y67Cyy9qogzSrHQi2BFJfqLUWPFEo3RgBo1GtTEbBKNPfaoUYzG3mLFEhsgCiIoKjoL0nuHBbbM7M6c3x/vXRiWrTC7d2bn/TzPPMu9973ve+4w93vPW+45oqpYLJbkxeO2ARaLxV2sCFgsSY4VAYslybEiYLEkOVYELJYkx4pAgiAiBW7bYGmZWBGIQkR6i0ifRpR/KvrmFJEMEXlYRFrVUHZwtbLHicitDWwnFfhURG5qqG0WS0OxIrA7+wGPAojIySJygYicF/U5t1r5Eaq6MWr758D+qrq9hrp7AtNF5OcikgXcD5wvIrOjPjfWYtfDwNvA0SLyi8ZckIhMFJFiEdkqItdG7b9MRNY67e4Xtf9BESkRkXUick61um4SkcJq+2qsJ+r4X6LPqal+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5WJCIpmEHASszMQZmqbok6lqWqcTFoFPD58zALmq4GWrtsTryzEfM69/12xV98klQvEMWagM+fC1yB8UjauGxOvDET+CfwsjPYaolTrAjEgIDP3wo4FzgHGEHyLkMuxczo/NNG/E0crAjEmIDP3x2z9uEckmd6cQFmJucpJyuUJYGwItCEBHz+QzBicA7mhaeWxErgHeBV4BO7xDdxsSLQTAR8/mEYMTgZM7WZaEQwL4e9DbzjLwo06EUtS/xjRcAFAj5/D+DIqE9vdy2qEQV+wCzT/gSY6i8KbHHXJEtTYEUgDgj4/AWYdy2OcD6HA/s1U/OKeQNzgfOZ7/z92l8UWN9MNlhcxIpAnOJMP3bGrJrs5PztWMN2AbtmIyKYl3Fq+5Rh3tCMvtl/sot3khsrAglOwOdPway2DPqLAjUFa7FY6sSKgMWS5NgoOhZLkmNFwGJJcqwIWCxJjhUBiyXJsSJgsSQ5VgQsliTHioDFkuRYEbBYkhwrAhZLkmNFwGJJcqwIWCxJjhUBiyXJsSJgsSQ5VgQsliTHioDFkuRYEbBYkhwrAhZLkmNFwGJJcqwIWCxJjhUBiyXJsSJgsSQ5VgQsliTHioDFkuRYEbBYkhwrAhZLkmNFwGJJcqwIWCxJzv8DLQi8wxou7/kAAAAASUVORK5CYII=\n",
      "text/plain": [
       "<Figure size 432x288 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "plt.pie(base, labels=labels,autopct='%1.2f%%')\n",
    "plt.title(\"初始资金 20210427\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 23,
   "id": "bound-illness",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "<matplotlib.legend.Legend at 0x7fc26a382908>"
      ]
     },
     "execution_count": 23,
     "metadata": {},
     "output_type": "execute_result"
    },
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAW4AAAD4CAYAAADM6gxlAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24z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OqVE64K+Mbd1yeMa+rhyGW3ZOFMVGN3/y7TtTSEuu431Sxnj95vdmX6rhIRkZjZlW55FxGRJCi4RURiRsEtIhIzCm4RkZhRcIuIxMz/B3qa95PsyGUfAAAAAElFTkSuQmCC\n",
      "text/plain": [
       "<Figure size 432x288 with 1 Axes>"
      ]
     },
     "metadata": {
      "needs_background": "light"
     },
     "output_type": "display_data"
    }
   ],
   "source": [
    "# plt.bar(,height=50, width=0.5, )\n",
    "x = np.arange(5)\n",
    "bar_width = 0.3\n",
    "\n",
    "# 绘图 x 表示 从那里开始\n",
    "plt.bar(x, base, bar_width, label='资金分配', tick_label=labels)\n",
    "# plt.bar(x+bar_width, Sh, bar_width, align=\"center\")\n",
    "\n",
    "# 添加数据标签\n",
    "for a, b in zip(x, base):\n",
    "    plt.text(a, b + 0.05, '%.0f' % b, ha='center', va='bottom', fontsize=10)\n",
    "\n",
    "\n",
    "# 添加图例\n",
    "plt.legend()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 29,
   "id": "exclusive-victor",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "<matplotlib.legend.Legend at 0x7fc269c63898>"
      ]
     },
     "execution_count": 29,
     "metadata": {},
     "output_type": "execute_result"
    },
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAWkAAAD2CAYAAAAUPHZsAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjMuNCwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8QVMy6AAAACXBIWXMAAAsTAAALEwEAmpwYAAAYR0lEQVR4nO3df3xV9X3H8deHAEaEIMXQgBRS2ym4lvojVXSgiZQKsqHMDhRpkaKRKDpm1wJKV9zKoJaHrlqVoagFgsbOPaqdAsNKKuGHj0LX2rpC6Zi0YGERAlbCbz77496EEPLjJLkn9xvyfj4eeeTee77nnM+5Oeed7z2/rrk7IiISpg7pLkBEROqnkBYRCZhCWkQkYAppEZGAKaRFRALWM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181sAbCnxuurgL82s7UkgqG+dq3taRIfu95MPj+f6Muwqo5x46pxtJmtBs5qrHEN/wU8njwK/qKZfYbEbQHuM7N1QA4new+t6d9IbORlTRinrmVJl7uBvkBxsre1lqaty2cDhxsY/h/AAhLrYaWZNXW9amj6dU37ASAb+HHybImLWljXJuBlM/uJmS2u0e6HwO/dvSr05gF/n9yeRgC7oy/iKaJuh3WtQ08DNyf/jlnJdk8DI83sLWAK8Idm1gXoYpZ2p+ZBzQht7yTRuzia/JkfZbw4mdmfA88B/+rui5owXnDL0lTJg3jLgBPAne7+m7Y0/SbUMZvEft/jJHaRTCfRIXiYxEHvFWmqKy3rkEJaRCRgIe7uEBGRJIW0iEjAFNIiIgFTSIuIBEwhLSISsP8H4INvSANbW2EAAAAASUVORK5CYII=\n",
      "text/plain": [
       "<Figure size 432x288 with 1 Axes>"
      ]
     },
     "metadata": {
      "needs_background": "light"
     },
     "output_type": "display_data"
    }
   ],
   "source": [
    "brokers=['futu', 'hautai','qingshi','yingli','zunjia','jiazhangye','fangde']\n",
    "brokersasset=[8.2,8,2.4,2.1,1.5,1,2.3]\n",
    "brokercount = np.arange(len(brokers))\n",
    "\n",
    "plt.bar(brokercount,brokersasset, bar_width, label='2021-5境外资产', tick_label=brokers)\n",
    "# 添加数据标签\n",
    "for a, b in zip(brokercount, brokersasset):\n",
    "    plt.text(a, b + 0.05, '%.0f' % b, ha='center', va='bottom', fontsize=10)\n",
    "\n",
    "\n",
    "# 添加图例\n",
    "plt.legend()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 31,
   "id": "detailed-passage",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAXMAAAD2CAYAAAAksGdNAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjMuNCwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8QVMy6AAAACXBIWXMAAAsTAAALEwEAmpwYAAANcklEQVR4nO3df4hl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2Ae8G/mlKtQ1hFq95H48neUOS1wE/DPzzZhbTPTg8Dnyoqp4ds9nMXeuedc/k/Z3k7iTv7z6+ntFvDSvNxjWvqma+gG9jdBM8ADzTXdjfWGOba7ZI3d8LPA18idFDuU2/3ivqO9l9vwX4pRXrbgC+DPweo1+nt212vT3rfiejXuLTK9dtUq0fAF4ATnZfH90i93efumfy/gZ2AU8AnwceYvRAdCaveXOThvrMRJ3F2aqzWNOQuj/1cAh4vNYeq9YGtH4vzaJZuObNhbkkvRa1NmYuSa9JhrkkNcAwl6QGGOaS1ADDXJIa8P+YrwPGXb785gAAAABJRU5ErkJggg==\n",
      "text/plain": [
       "<Figure size 432x288 with 1 Axes>"
      ]
     },
     "metadata": {
      "needs_background": "light"
     },
     "output_type": "display_data"
    }
   ],
   "source": [
    "\n",
    "# 数据\n",
    "x = np.arange(4)\n",
    "Bj = [52, 55, 63, 53]\n",
    "Sh = [44, 66, 55, 41]\n",
    "bar_width = 0.3\n",
    "\n",
    "# 绘图\n",
    "plt.bar(x, Bj, bar_width)\n",
    "plt.bar(x, Sh, bar_width, bottom=Bj)\n",
    "\n",
    "# 展示图片\n",
    "plt.show()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "greenhouse-authentication",
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3 (ipykernel)",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.10.2"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
